<?php

class empleado extends object_standard {

    //attributes
    protected $cedula;
    protected $nombre;
    protected $fecha_nacimiento;
    protected $sexo;
    protected $cargo;
    protected $contrasena;
    //components
    var $components = array();
    //auxiliars for primary key and for files
    var $auxiliars = array();

    //data about the attributes
    public function metadata() {
        return array("cedula" => array(), "nombre" => array(), "fecha_nacimiento" => array(), "sexo" => array(), "cargo" => array(), "contrasena" => array());
    }

    public function primary_key() {
        return array("cedula");
    }

    public function relational_keys($class, $rel_name) {
        switch ($class) {
            default:
                break;
        }
    }

}

?>